import request from '@/utils/request'
export default{    
    //生成订单信息
    createOrders(courseId){
        return request({
            url: `/order/torDer/createOrder/${courseId}`,
            method:'post',
            })
    },
    //查询订单信息
    getOrdersInfo(id){
        return request({
            url: `/order/torDer/getOrderInfo/${id}`,
            method:'post',
            })
    },
    //生成二维码的方法
    createNatvie(orderNo){
        return request({
            url: `/order/payLog/createPayLog/${orderNo}`,
            method:'get',
            })
    },
    //查询订单状态的方法
    //生成二维码的方法
    queryPayStatus(orderNo){
        return request({
            url: `/order/payLog/queryPayStatus/${orderNo}`,
            method:'get',
            })
    }

    
}
